#include "Tools.h"

uint32_t Basic7::Hash::HashSeq(const char *_First, size_t _Count)
{
	const uint32_t offset = 2166136261U;
	const uint32_t prime = 16777619U;

	uint32_t value = offset;
	for (uint32_t next = 0; next < _Count; ++next)
	{
		value ^= (uint32_t)_First[next];
		value *= prime;
	}
	return (value);
}